package com.aloda.dto.userSuggest;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class UserSuggestAddDTO {

    @NotBlank(message = "建议内容不能为空")
    @Size(max = 2048, message = "建议内容长度不能超过 2048 个字符")
    private String suggestContent;

    @NotBlank(message = "建议类型不能为空")
    @Size(max = 32, message = "建议类型长度不能超过 32 个字符")
    private String suggestType;

    @NotBlank(message = "联系方式不能为空")
    @Size(max = 96, message = "联系方式长度不能超过 96 个字符")
    private String contact;

    @NotBlank(message = "联系方式类别不能为空")
    @Size(max = 32, message = "联系方式类别长度不能超过 32 个字符")
    private String contactType;

}
